package com.qx.grainmall.authserver.feig;

import com.qx.common.utils.R;
import com.qx.grainmall.authserver.vo.WeiboAccessTokenVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("grainmall-member")
@RequestMapping("member/member")
public interface MemberFeignService {
    @PostMapping("weibo/login")
    public R weiboLogin(@RequestBody WeiboAccessTokenVo vo) throws Exception;
}
